<!-- 物流详情 -->
<template>
    <!-- <view class="LogDetails">
        <view class="LogDetails-item">
            <view class="item-top">
                <view class="top-left">
                    <image src="@/static/mine/关于.png" mode="scaleToFill" />
                </view>
                <view class="top-right">
                    <text class="right-text">订单编号：5678876545678</text>
                    <text class="right-name">物流公司：顺丰快递</text>
                    <text class="right-sn">快递单号：Y765434567890</text>
                    <text class="right-copy">复制</text>
                </view>
            </view>
        </view>
        <view class="steps">
            <u-steps current="0" direction="column">
                <u-steps-item title="运输中" desc="11:40">
                    <text class="slot-icon" slot="icon">收</text>
                    <view class="slot-desc"> </view>

                    <view slot="desc" style="color: #999; font-size: 26rpx">
                        您的快件已在[快宝驿站]快递物流服务站补签收，联系电话:18284833254感谢使用圆通速递，期待再次为您服务!如果您对我们的服务感到满意，请在[评价快递员]处赐予我们五星好评~
                    </view>
                </u-steps-item>
                <u-steps-item title="配送中" desc="10:35"></u-steps-item>
                <u-steps-item title="配送中" desc="11:40"></u-steps-item>
            </u-steps>
            <view class="border-left">
                <view class="list-item" :key="index">
                    <view class="view1">
                        <view class="text1">
                            您的快件已在[快宝驿站]快递物流服务站补签收，联系电话:18284833254感谢使用圆通速递，期待再次为您服务!如果您对我们的服务感到满意，请在[评价快递员]处赐予我们五星好评~
                        </view>
                        <view class="text2" style="margin-bottom: 24rpx"> </view>
                    </view>
                    <view class="view1">
                        <view class="text1">
                            您的快件已在[快宝驿站]快递物流服务站补签收，联系电话:18284833254感谢使用圆通速递，期待再次为您服务!如果您对我们的服务感到满意，请在[评价快递员]处赐予我们五星好评~
                        </view>
                        <view class="text2" style="margin-bottom: 24rpx"> </view>
                    </view>
                    <view class="view1">
                        <view class="text1">
                            您的快件已在[快宝驿站]快递物流服务站补签收，联系电话:18284833254感谢使用圆通速递，期待再次为您服务!如果您对我们的服务感到满意，请在[评价快递员]处赐予我们五星好评~
                        </view>
                        <view class="text2" style="margin-bottom: 24rpx"> </view>
                    </view>
                </view>
            </view>
        </view>
    </view> -->
    <view class="container">
        <view class="title">物流信息</view>
        <view class="list">
            <view class="item" v-for="(item, index) in logisticsList" :key="index">
                <view class="date">{{ item.date }}</view>
                <view class="content">{{ item.content }}</view>
            </view>
        </view>
    </view>
</template>
<script>
export default {
    name: "LogDetails",
    components: {},
    mixins: [],
    props: {},
    data() {
        return {
            logisticsList: [
                {
                    date: "2024-03-11 18:24:04",
                    content:
                        "您的快件已在[快宝驿站]快递物流服务站补签收，联系电话：18284833254。感谢使用圆通速递，期待再次为您服务！如果您对我们的服务感到满意，请在[评价快递员]处赐予我们五星好评~",
                    status: "已签收",
                },
                {
                    date: "2024-03-06 09:14:54",
                    content:
                        "您的快件已到达[快宝驿站]梁树镇派出所斜对面，请及时取件，联系电话：15425455325。感谢使用圆通速递，期待再次为您服务！",
                    status: "配送中",
                },
                {
                    date: "2024-03-05 16:33:21",
                    content:
                        "您的快件已到达[快宝驿站]梁树镇派出所斜对面，请及时取件，联系电话：15425455325。感谢使用圆通速递，期待再次为您服务！",
                    status: "配送中",
                },
            ],
        };
    },
    computed: {},
    watch: {},
    mounted() {},
    methods: {},
};
</script>
<style lang="scss" scoped>
.container {
    flex-direction: column;
    background-color: #f5f5f5;
}

.title {
    font-size: 24px;
    padding: 20px;
    text-align: center;
}

.list {
    flex-direction: column;
}

.item {
    padding: 20px;
    border-bottom-width: 1px;
    border-bottom-color: #ccc;
}

.date {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.content {
    font-size: 14px;
    color: #333;
}

.status {
    font-size: 14px;
    color: #333;
}
/deep/.u-steps {
    height: 100%;
}
.LogDetails {
    .LogDetails-item {
        margin: 10rpx 20rpx;
        .item-top {
            padding: 20rpx;
            display: flex;
            align-items: center;
            .top-left {
                width: 140rpx;
                height: 140rpx;
                image {
                    width: 100%;
                    height: 100%;
                    border-radius: 20rpx;
                }
            }
            .top-right {
                color: #333;
                font-size: 26rpx;
                flex: 1;
                margin-left: 20rpx;
                .right-name {
                    display: block;
                    margin: 10rpx 0;
                }
                .right-copy {
                    color: #df484b;
                    float: right;
                }
            }
        }
    }
}
.slot-icon {
    width: 21px;
    height: 21px;
    background-color: $u-error;
    border-radius: 100px;
    font-size: 12px;
    color: #fff;
    line-height: 21px;
    text-align: center;
}
.list-item {
    padding-left: 20rpx;
    margin-bottom: 60rpx;
}

.mb40 {
    margin-bottom: 0rpx !important;
}

.view1 {
    .daodaimg {
        width: 80rpx;
        height: 80rpx;
        background: #7f5022;
        border-radius: 4rpx 4rpx 4rpx 4rpx;
        margin-right: 20rpx;
        margin-top: 8rpx;
    }

    .text3,
    .text1 {
        font-family: SourceHanSansCN, SourceHanSansCN;
        font-weight: bold;
        font-size: 24rpx;
        color: #bbbbbb;
        margin-bottom: 24rpx;
        position: relative;
    }

    .text1:after {
        content: "";
        position: absolute;
        top: 6rpx;
        left: -24rpx;
        width: 12rpx;
        height: 12rpx;
        background: #dddddd;
        border-radius: 50%;
    }

    .text3::after {
        content: "";
        position: absolute;
        top: -4rpx;
        left: -36rpx;
        width: 12rpx;
        height: 12rpx;
        background: #ffffff;
        border: 10rpx solid #f4cb23;
        border-radius: 50%;
        z-index: 9;
    }

    .text2 {
        font-size: 24rpx;
        color: #bbbbbb;
        margin: 10rpx 0;
    }

    .img2 {
        width: 21rpx;
        height: 27rpx;
        margin-right: 10rpx;
    }
}

.border-left {
    position: relative;
    padding-left: 10rpx;
}

.border-left:after {
    content: "";
    top: 14rpx;
    bottom: 10rpx;
    position: absolute;
    width: 3rpx;
    background: #dddddd;
    border-radius: 1rpx 1rpx 1rpx 1rpx;
}
</style>
